home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Software Vault: The Diamond Collection
/
The Diamond Collection (Software Vault)(Digital Impact).ISO
/
cdr37
/
fdwcwm22.zip
/
CAT.BAT
< prev
next >
Wrap
DOS Batch File
|
1995-02-08
|
1KB
|
71 lines
@echo off
cls
C:
cd\fd
cls
SET FD=C:\FD
rem * Remove the (rem) DOS comments sign next five lines and replace with your
rem * specific Node settings. Please remeove this line and the on top as well.
rem SET WCNODEID=1
rem SET WCPORTID=1
rem SET WCIRQID=4
rem SET WCBASEID=$3F8
rem SET WCMDM=PP-NODE1
SET NODEPATH=C:\WC40\WCWORK\NODE1\
SET HOMEPATH=C:\WC40\
SET WCHOME=C:\WC40
:START
C:
cd\fd
fd -NOUNPACK
IF ERRORLEVEL 255 goto aftermail
IF ERRORLEVEL 200 goto run-bbs
IF ERRORLEVEL 70 goto maintenance
IF ERRORLEVEL 60 goto local-bbs
IF ERRORLEVEL 1 goto end
IF ERRORLEVEL 0 goto end
goto start
:aftermail
cls
if exist C:\fd\files\nodediff.* goto nodediff
cd\wm40
wm scan toss netmail
cd\fd
goto start
:nodediff
cd\fd\nodelist
copy c:\fd\files\nodediff.* c:\fd\nodelist
if exist c:\fd\files\nodediff.* del c:\fd\files\nodediff.*
pkunpak -x nodediff.*
editnl /clean
fdnc /f
del nodediff.*
goto start
:run-bbs
dobbs.bat
goto start
:maintenance
rem Call whatever batch file name to run your event here.
rem Or you can put all your events commands here.
goto start
:local-bbs
cd\wc40
wildcat /b local
cd\
cd\wm40
wm scan toss netmail
cd\fd
goto start
:end
c:
cd\
cd\fd